﻿// 项目：	Guan.CMS.Domain - Guan.CMS
// 文件名：	CanAddOrUpdateArticle.cs
// 
// 修改时间：2013-03-09 22:35
// 修改人：	Cooclsee

using System.Collections.Generic;
using Guan.CMS.CommandProcessor.Command;
using Guan.CMS.Core.Common;
using Guan.CMS.Data.Repositories;
using Guan.CMS.Domain.Commands.Article;

namespace Guan.CMS.Domain.Handlers.Article
{
    public class CanAddOrUpdateArticle : IValidationHandler<AddOrUpdateArticleCommand>
    {
        private readonly IArticleRepository _articleRepository;
        public CanAddOrUpdateArticle(IArticleRepository articleRepository)
        {
            this._articleRepository = articleRepository;
        }

        public IEnumerable<ValidationResult> Validate(AddOrUpdateArticleCommand command)
        {
            return null;
        }
    }
}